/* 默认 */
body,h1,h2,h3,h4,h5,h6,p,dl,dd{
    margin: 0;
}
body{
    font-style: 16px;
    color: #333;
    font-family: "微软雅黑";
}
ul,ol,li{
    list-style: none;
    margin: 0;
    padding: 0;
}
img{
    vertical-align: middle;
    border: none;
}
/* 默认的倾斜 */
em,
i {
  font-style: normal;
}
/* 默认的加粗 */
b,
strong {
  font-weight: normal;
}
a{
    text-decoration: none;
    color: #333;
}
a:hover{
    color: #b4a078;
}
input{
    vertical-align: middle;
    margin: 0;
    padding: 0;
    border: 1px solid #ccc;
    background: none;
    outline: none;
}
textarea {
    resize: none;
}  
table{
    border-collapse: collapse;
}
th,td{
    padding: 0;
}
label{
    vertical-align: middle;
}

/* 类名库 */
/* 提前封装一些类名 */
.float-l {
    float: left;
}
.float-r {
    float: right;
}
/* 版心 */
.center{
    width: 1100px;
    margin: 0 auto;
}
/* 图片划过缩放 */
.trans img{
    transition: 1s ease-out;
    transform: scale(1);
}
.trans:hover img{
    transform: scale(1.1);
}
/* 图片懒加载 */
/* .origin{
    background: #f4f4f4 url() center no-repeat;
} */
/* 元素在父元素左右上下居中 */
.child-center {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
/* 单行文本省略号显示 */
.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
  
/* 弹性盒元素居中 */
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
  
/* 元素在浏览器左右上下居中 */
.fixed-center {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 9999;
}
